package com.xixi.server;


import com.xixi.model.User;

   //编程实现数据的存取
    public class serverDao {
        //编程实现管理员账号和密码的校验并将结果返回出去
        //public void serverManagerCheck(User user)
        public boolean serverManagerCheck(User user){
            if ("adam".equals(user.getUserName()) && "123456".equals(user.getPassword())){
                return true;
            }
                return false;
        }
    }
